package com.chunuo.blogs.service;

import com.chunuo.blogs.entity.Blogs;
import com.chunuo.blogs.entity.BlogsFIling;
import com.chunuo.blogs.entity.SearchBean;

import java.util.List;

/**
 * 类的作用
 *
 * @author liujiamiao
 * @email 2544296058@qq.com
 * @date 2020-05-20 11:54
 */
public interface BlogsService {

    List<Blogs> findAll(SearchBean search);

    Blogs findById(Integer id);

    List<BlogsFIling> findFiling(Integer page,Integer size);

    Blogs save(Blogs blogs);

    Blogs update(Blogs blogs);

    void delete(Integer id);

}
